//
//  YWNoCommentView.m
//  StockNumber1
//
//  Created by yellow on 2019/10/24.
//  Copyright © 2019 YW. All rights reserved.
//

#import "YWNoCommentView.h"

@interface YWNoCommentView ()
- (IBAction)noCommentBtnClick:(UIButton *)sender;
@property (weak, nonatomic) IBOutlet UIButton *contentBtn;



@end

@implementation YWNoCommentView

-(void)setContent:(NSString *)content{
    
    _content = [content copy];
    [self.contentBtn setTitle:content forState:UIControlStateNormal];
}

+(instancetype)footerView{
    
    return [[NSBundle mainBundle] loadNibNamed:@"YWNoCommentView" owner:nil options:nil].lastObject;
    
}



- (IBAction)noCommentBtnClick:(UIButton *)sender {
    
    if ([self.delegate respondsToSelector:@selector(noCommentViewDidClickBtn:)]) {
        [self.delegate noCommentViewDidClickBtn:self];
    }
    
    
}
@end
